﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Orderr;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OrderWebApi
{
    [Route("api/[controller]")]
    [ApiController]
    public class OrderApiController : ControllerBase
    {
        private readonly OrderContext OrderDB;
        public OrderApiController(OrderContext Context)
        {
            this.OrderDB = Context;
        }
        [HttpGet ("{oid}")]
        public ActionResult<List<Order>> QueryByOid(int oid)
        {

        }
    }
}
